package com.dwxt.cdms.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LbWatchExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LbWatchExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomer_idEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idLessThan(Integer value) {
            addCriterion("customer_id <", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOIsNull() {
            addCriterion("addAmbientBeaconDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOIsNotNull() {
            addCriterion("addAmbientBeaconDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOEqualTo(String value) {
            addCriterion("addAmbientBeaconDTO =", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTONotEqualTo(String value) {
            addCriterion("addAmbientBeaconDTO <>", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOGreaterThan(String value) {
            addCriterion("addAmbientBeaconDTO >", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addAmbientBeaconDTO >=", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOLessThan(String value) {
            addCriterion("addAmbientBeaconDTO <", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOLessThanOrEqualTo(String value) {
            addCriterion("addAmbientBeaconDTO <=", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOLike(String value) {
            addCriterion("addAmbientBeaconDTO like", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTONotLike(String value) {
            addCriterion("addAmbientBeaconDTO not like", value, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOIn(List<String> values) {
            addCriterion("addAmbientBeaconDTO in", values, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTONotIn(List<String> values) {
            addCriterion("addAmbientBeaconDTO not in", values, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTOBetween(String value1, String value2) {
            addCriterion("addAmbientBeaconDTO between", value1, value2, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddAmbientBeaconDTONotBetween(String value1, String value2) {
            addCriterion("addAmbientBeaconDTO not between", value1, value2, "addAmbientBeaconDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOIsNull() {
            addCriterion("addBodyTemperatureDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOIsNotNull() {
            addCriterion("addBodyTemperatureDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOEqualTo(String value) {
            addCriterion("addBodyTemperatureDTO =", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTONotEqualTo(String value) {
            addCriterion("addBodyTemperatureDTO <>", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOGreaterThan(String value) {
            addCriterion("addBodyTemperatureDTO >", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addBodyTemperatureDTO >=", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOLessThan(String value) {
            addCriterion("addBodyTemperatureDTO <", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOLessThanOrEqualTo(String value) {
            addCriterion("addBodyTemperatureDTO <=", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOLike(String value) {
            addCriterion("addBodyTemperatureDTO like", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTONotLike(String value) {
            addCriterion("addBodyTemperatureDTO not like", value, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOIn(List<String> values) {
            addCriterion("addBodyTemperatureDTO in", values, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTONotIn(List<String> values) {
            addCriterion("addBodyTemperatureDTO not in", values, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTOBetween(String value1, String value2) {
            addCriterion("addBodyTemperatureDTO between", value1, value2, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddBodyTemperatureDTONotBetween(String value1, String value2) {
            addCriterion("addBodyTemperatureDTO not between", value1, value2, "addBodyTemperatureDTO");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListIsNull() {
            addCriterion("addDevicePowerDTOList is null");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListIsNotNull() {
            addCriterion("addDevicePowerDTOList is not null");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListEqualTo(String value) {
            addCriterion("addDevicePowerDTOList =", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListNotEqualTo(String value) {
            addCriterion("addDevicePowerDTOList <>", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListGreaterThan(String value) {
            addCriterion("addDevicePowerDTOList >", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListGreaterThanOrEqualTo(String value) {
            addCriterion("addDevicePowerDTOList >=", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListLessThan(String value) {
            addCriterion("addDevicePowerDTOList <", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListLessThanOrEqualTo(String value) {
            addCriterion("addDevicePowerDTOList <=", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListLike(String value) {
            addCriterion("addDevicePowerDTOList like", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListNotLike(String value) {
            addCriterion("addDevicePowerDTOList not like", value, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListIn(List<String> values) {
            addCriterion("addDevicePowerDTOList in", values, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListNotIn(List<String> values) {
            addCriterion("addDevicePowerDTOList not in", values, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListBetween(String value1, String value2) {
            addCriterion("addDevicePowerDTOList between", value1, value2, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddDevicePowerDTOListNotBetween(String value1, String value2) {
            addCriterion("addDevicePowerDTOList not between", value1, value2, "addDevicePowerDTOList");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOIsNull() {
            addCriterion("addHealthDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOIsNotNull() {
            addCriterion("addHealthDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOEqualTo(String value) {
            addCriterion("addHealthDTO =", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTONotEqualTo(String value) {
            addCriterion("addHealthDTO <>", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOGreaterThan(String value) {
            addCriterion("addHealthDTO >", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addHealthDTO >=", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOLessThan(String value) {
            addCriterion("addHealthDTO <", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOLessThanOrEqualTo(String value) {
            addCriterion("addHealthDTO <=", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOLike(String value) {
            addCriterion("addHealthDTO like", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTONotLike(String value) {
            addCriterion("addHealthDTO not like", value, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOIn(List<String> values) {
            addCriterion("addHealthDTO in", values, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTONotIn(List<String> values) {
            addCriterion("addHealthDTO not in", values, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTOBetween(String value1, String value2) {
            addCriterion("addHealthDTO between", value1, value2, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHealthDTONotBetween(String value1, String value2) {
            addCriterion("addHealthDTO not between", value1, value2, "addHealthDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOIsNull() {
            addCriterion("addHumitureDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOIsNotNull() {
            addCriterion("addHumitureDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOEqualTo(String value) {
            addCriterion("addHumitureDTO =", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTONotEqualTo(String value) {
            addCriterion("addHumitureDTO <>", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOGreaterThan(String value) {
            addCriterion("addHumitureDTO >", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addHumitureDTO >=", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOLessThan(String value) {
            addCriterion("addHumitureDTO <", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOLessThanOrEqualTo(String value) {
            addCriterion("addHumitureDTO <=", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOLike(String value) {
            addCriterion("addHumitureDTO like", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTONotLike(String value) {
            addCriterion("addHumitureDTO not like", value, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOIn(List<String> values) {
            addCriterion("addHumitureDTO in", values, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTONotIn(List<String> values) {
            addCriterion("addHumitureDTO not in", values, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTOBetween(String value1, String value2) {
            addCriterion("addHumitureDTO between", value1, value2, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddHumitureDTONotBetween(String value1, String value2) {
            addCriterion("addHumitureDTO not between", value1, value2, "addHumitureDTO");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListIsNull() {
            addCriterion("addPositionStatusDTOList is null");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListIsNotNull() {
            addCriterion("addPositionStatusDTOList is not null");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListEqualTo(String value) {
            addCriterion("addPositionStatusDTOList =", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListNotEqualTo(String value) {
            addCriterion("addPositionStatusDTOList <>", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListGreaterThan(String value) {
            addCriterion("addPositionStatusDTOList >", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListGreaterThanOrEqualTo(String value) {
            addCriterion("addPositionStatusDTOList >=", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListLessThan(String value) {
            addCriterion("addPositionStatusDTOList <", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListLessThanOrEqualTo(String value) {
            addCriterion("addPositionStatusDTOList <=", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListLike(String value) {
            addCriterion("addPositionStatusDTOList like", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListNotLike(String value) {
            addCriterion("addPositionStatusDTOList not like", value, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListIn(List<String> values) {
            addCriterion("addPositionStatusDTOList in", values, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListNotIn(List<String> values) {
            addCriterion("addPositionStatusDTOList not in", values, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListBetween(String value1, String value2) {
            addCriterion("addPositionStatusDTOList between", value1, value2, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddPositionStatusDTOListNotBetween(String value1, String value2) {
            addCriterion("addPositionStatusDTOList not between", value1, value2, "addPositionStatusDTOList");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOIsNull() {
            addCriterion("addSignalQualityDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOIsNotNull() {
            addCriterion("addSignalQualityDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOEqualTo(String value) {
            addCriterion("addSignalQualityDTO =", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTONotEqualTo(String value) {
            addCriterion("addSignalQualityDTO <>", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOGreaterThan(String value) {
            addCriterion("addSignalQualityDTO >", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addSignalQualityDTO >=", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOLessThan(String value) {
            addCriterion("addSignalQualityDTO <", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOLessThanOrEqualTo(String value) {
            addCriterion("addSignalQualityDTO <=", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOLike(String value) {
            addCriterion("addSignalQualityDTO like", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTONotLike(String value) {
            addCriterion("addSignalQualityDTO not like", value, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOIn(List<String> values) {
            addCriterion("addSignalQualityDTO in", values, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTONotIn(List<String> values) {
            addCriterion("addSignalQualityDTO not in", values, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTOBetween(String value1, String value2) {
            addCriterion("addSignalQualityDTO between", value1, value2, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddSignalQualityDTONotBetween(String value1, String value2) {
            addCriterion("addSignalQualityDTO not between", value1, value2, "addSignalQualityDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOIsNull() {
            addCriterion("addWearStatusDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOIsNotNull() {
            addCriterion("addWearStatusDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOEqualTo(String value) {
            addCriterion("addWearStatusDTO =", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTONotEqualTo(String value) {
            addCriterion("addWearStatusDTO <>", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOGreaterThan(String value) {
            addCriterion("addWearStatusDTO >", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addWearStatusDTO >=", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOLessThan(String value) {
            addCriterion("addWearStatusDTO <", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOLessThanOrEqualTo(String value) {
            addCriterion("addWearStatusDTO <=", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOLike(String value) {
            addCriterion("addWearStatusDTO like", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTONotLike(String value) {
            addCriterion("addWearStatusDTO not like", value, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOIn(List<String> values) {
            addCriterion("addWearStatusDTO in", values, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTONotIn(List<String> values) {
            addCriterion("addWearStatusDTO not in", values, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTOBetween(String value1, String value2) {
            addCriterion("addWearStatusDTO between", value1, value2, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWearStatusDTONotBetween(String value1, String value2) {
            addCriterion("addWearStatusDTO not between", value1, value2, "addWearStatusDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOIsNull() {
            addCriterion("addWifiDTO is null");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOIsNotNull() {
            addCriterion("addWifiDTO is not null");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOEqualTo(String value) {
            addCriterion("addWifiDTO =", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTONotEqualTo(String value) {
            addCriterion("addWifiDTO <>", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOGreaterThan(String value) {
            addCriterion("addWifiDTO >", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOGreaterThanOrEqualTo(String value) {
            addCriterion("addWifiDTO >=", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOLessThan(String value) {
            addCriterion("addWifiDTO <", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOLessThanOrEqualTo(String value) {
            addCriterion("addWifiDTO <=", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOLike(String value) {
            addCriterion("addWifiDTO like", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTONotLike(String value) {
            addCriterion("addWifiDTO not like", value, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOIn(List<String> values) {
            addCriterion("addWifiDTO in", values, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTONotIn(List<String> values) {
            addCriterion("addWifiDTO not in", values, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTOBetween(String value1, String value2) {
            addCriterion("addWifiDTO between", value1, value2, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andAddWifiDTONotBetween(String value1, String value2) {
            addCriterion("addWifiDTO not between", value1, value2, "addWifiDTO");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIsNull() {
            addCriterion("deviceMac is null");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIsNotNull() {
            addCriterion("deviceMac is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceMacEqualTo(String value) {
            addCriterion("deviceMac =", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotEqualTo(String value) {
            addCriterion("deviceMac <>", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacGreaterThan(String value) {
            addCriterion("deviceMac >", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacGreaterThanOrEqualTo(String value) {
            addCriterion("deviceMac >=", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLessThan(String value) {
            addCriterion("deviceMac <", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLessThanOrEqualTo(String value) {
            addCriterion("deviceMac <=", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLike(String value) {
            addCriterion("deviceMac like", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotLike(String value) {
            addCriterion("deviceMac not like", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIn(List<String> values) {
            addCriterion("deviceMac in", values, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotIn(List<String> values) {
            addCriterion("deviceMac not in", values, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacBetween(String value1, String value2) {
            addCriterion("deviceMac between", value1, value2, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotBetween(String value1, String value2) {
            addCriterion("deviceMac not between", value1, value2, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("deviceType is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("deviceType is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(Integer value) {
            addCriterion("deviceType =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(Integer value) {
            addCriterion("deviceType <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(Integer value) {
            addCriterion("deviceType >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("deviceType >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(Integer value) {
            addCriterion("deviceType <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("deviceType <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<Integer> values) {
            addCriterion("deviceType in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<Integer> values) {
            addCriterion("deviceType not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(Integer value1, Integer value2) {
            addCriterion("deviceType between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("deviceType not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionIsNull() {
            addCriterion("deviceVersion is null");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionIsNotNull() {
            addCriterion("deviceVersion is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionEqualTo(Integer value) {
            addCriterion("deviceVersion =", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionNotEqualTo(Integer value) {
            addCriterion("deviceVersion <>", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionGreaterThan(Integer value) {
            addCriterion("deviceVersion >", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("deviceVersion >=", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionLessThan(Integer value) {
            addCriterion("deviceVersion <", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionLessThanOrEqualTo(Integer value) {
            addCriterion("deviceVersion <=", value, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionIn(List<Integer> values) {
            addCriterion("deviceVersion in", values, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionNotIn(List<Integer> values) {
            addCriterion("deviceVersion not in", values, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionBetween(Integer value1, Integer value2) {
            addCriterion("deviceVersion between", value1, value2, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("deviceVersion not between", value1, value2, "deviceVersion");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdIsNull() {
            addCriterion("iotDeviceId is null");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdIsNotNull() {
            addCriterion("iotDeviceId is not null");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdEqualTo(String value) {
            addCriterion("iotDeviceId =", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdNotEqualTo(String value) {
            addCriterion("iotDeviceId <>", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdGreaterThan(String value) {
            addCriterion("iotDeviceId >", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("iotDeviceId >=", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdLessThan(String value) {
            addCriterion("iotDeviceId <", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("iotDeviceId <=", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdLike(String value) {
            addCriterion("iotDeviceId like", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdNotLike(String value) {
            addCriterion("iotDeviceId not like", value, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdIn(List<String> values) {
            addCriterion("iotDeviceId in", values, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdNotIn(List<String> values) {
            addCriterion("iotDeviceId not in", values, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdBetween(String value1, String value2) {
            addCriterion("iotDeviceId between", value1, value2, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andIotDeviceIdNotBetween(String value1, String value2) {
            addCriterion("iotDeviceId not between", value1, value2, "iotDeviceId");
            return (Criteria) this;
        }

        public Criteria andNbVersionIsNull() {
            addCriterion("nbVersion is null");
            return (Criteria) this;
        }

        public Criteria andNbVersionIsNotNull() {
            addCriterion("nbVersion is not null");
            return (Criteria) this;
        }

        public Criteria andNbVersionEqualTo(Integer value) {
            addCriterion("nbVersion =", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionNotEqualTo(Integer value) {
            addCriterion("nbVersion <>", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionGreaterThan(Integer value) {
            addCriterion("nbVersion >", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("nbVersion >=", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionLessThan(Integer value) {
            addCriterion("nbVersion <", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionLessThanOrEqualTo(Integer value) {
            addCriterion("nbVersion <=", value, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionIn(List<Integer> values) {
            addCriterion("nbVersion in", values, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionNotIn(List<Integer> values) {
            addCriterion("nbVersion not in", values, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionBetween(Integer value1, Integer value2) {
            addCriterion("nbVersion between", value1, value2, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andNbVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("nbVersion not between", value1, value2, "nbVersion");
            return (Criteria) this;
        }

        public Criteria andPositionIsNull() {
            addCriterion("position is null");
            return (Criteria) this;
        }

        public Criteria andPositionIsNotNull() {
            addCriterion("position is not null");
            return (Criteria) this;
        }

        public Criteria andPositionEqualTo(String value) {
            addCriterion("position =", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotEqualTo(String value) {
            addCriterion("position <>", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThan(String value) {
            addCriterion("position >", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThanOrEqualTo(String value) {
            addCriterion("position >=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThan(String value) {
            addCriterion("position <", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThanOrEqualTo(String value) {
            addCriterion("position <=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLike(String value) {
            addCriterion("position like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotLike(String value) {
            addCriterion("position not like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionIn(List<String> values) {
            addCriterion("position in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotIn(List<String> values) {
            addCriterion("position not in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionBetween(String value1, String value2) {
            addCriterion("position between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotBetween(String value1, String value2) {
            addCriterion("position not between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andPositionTypeIsNull() {
            addCriterion("positionType is null");
            return (Criteria) this;
        }

        public Criteria andPositionTypeIsNotNull() {
            addCriterion("positionType is not null");
            return (Criteria) this;
        }

        public Criteria andPositionTypeEqualTo(Integer value) {
            addCriterion("positionType =", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeNotEqualTo(Integer value) {
            addCriterion("positionType <>", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeGreaterThan(Integer value) {
            addCriterion("positionType >", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("positionType >=", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeLessThan(Integer value) {
            addCriterion("positionType <", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeLessThanOrEqualTo(Integer value) {
            addCriterion("positionType <=", value, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeIn(List<Integer> values) {
            addCriterion("positionType in", values, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeNotIn(List<Integer> values) {
            addCriterion("positionType not in", values, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeBetween(Integer value1, Integer value2) {
            addCriterion("positionType between", value1, value2, "positionType");
            return (Criteria) this;
        }

        public Criteria andPositionTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("positionType not between", value1, value2, "positionType");
            return (Criteria) this;
        }

        public Criteria andPowerIsNull() {
            addCriterion("power is null");
            return (Criteria) this;
        }

        public Criteria andPowerIsNotNull() {
            addCriterion("power is not null");
            return (Criteria) this;
        }

        public Criteria andPowerEqualTo(Integer value) {
            addCriterion("power =", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotEqualTo(Integer value) {
            addCriterion("power <>", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThan(Integer value) {
            addCriterion("power >", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThanOrEqualTo(Integer value) {
            addCriterion("power >=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThan(Integer value) {
            addCriterion("power <", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThanOrEqualTo(Integer value) {
            addCriterion("power <=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerIn(List<Integer> values) {
            addCriterion("power in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotIn(List<Integer> values) {
            addCriterion("power not in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerBetween(Integer value1, Integer value2) {
            addCriterion("power between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotBetween(Integer value1, Integer value2) {
            addCriterion("power not between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNull() {
            addCriterion("recordId is null");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNotNull() {
            addCriterion("recordId is not null");
            return (Criteria) this;
        }

        public Criteria andRecordIdEqualTo(String value) {
            addCriterion("recordId =", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotEqualTo(String value) {
            addCriterion("recordId <>", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThan(String value) {
            addCriterion("recordId >", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThanOrEqualTo(String value) {
            addCriterion("recordId >=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThan(String value) {
            addCriterion("recordId <", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThanOrEqualTo(String value) {
            addCriterion("recordId <=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLike(String value) {
            addCriterion("recordId like", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotLike(String value) {
            addCriterion("recordId not like", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdIn(List<String> values) {
            addCriterion("recordId in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotIn(List<String> values) {
            addCriterion("recordId not in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdBetween(String value1, String value2) {
            addCriterion("recordId between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotBetween(String value1, String value2) {
            addCriterion("recordId not between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNull() {
            addCriterion("reportTime is null");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNotNull() {
            addCriterion("reportTime is not null");
            return (Criteria) this;
        }

        public Criteria andReportTimeEqualTo(Integer value) {
            addCriterion("reportTime =", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotEqualTo(Integer value) {
            addCriterion("reportTime <>", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThan(Integer value) {
            addCriterion("reportTime >", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("reportTime >=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThan(Integer value) {
            addCriterion("reportTime <", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThanOrEqualTo(Integer value) {
            addCriterion("reportTime <=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIn(List<Integer> values) {
            addCriterion("reportTime in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotIn(List<Integer> values) {
            addCriterion("reportTime not in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeBetween(Integer value1, Integer value2) {
            addCriterion("reportTime between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("reportTime not between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}